<template>
  <ele-page :multi-card="false">
    <ele-card>
      <el-result icon="success" title="采集成功">
        <template #sub-title>
          <div
            style="
          max-width: 740px;
          padding: 20px 32px;
          background: hsla(0, 0%, 60%, 0.1);
          border-radius: var(--el-border-radius-base);
          margin: 26px auto;
          text-align: center;
        "
          >
            推荐表信息采集已提交，等待辅导员审核，你可以关闭当前页面了
          </div>
        </template>
      </el-result>
      <div style="text-align: center">
        <el-button type="primary" @click="goBack">返回采集首页</el-button>
      </div>

    </ele-card>
  </ele-page>
</template>

<script setup>

import {reactive, ref} from 'vue';
import {EleMessage} from 'ele-admin-plus/es';

const emit = defineEmits(['update:modelValue']);
const props = defineProps({
  modelValue: Number,
});

/** 更新modelValue */
const updateModelValue = (value) => {
  emit('update:modelValue', value);
};


//返回上一步
const goBack = () => {
  updateModelValue(0);
}
</script>
